package com.xnyzc.lhy.mis.entity.result.cms;

import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
*
* role返回对象
*
* @author lhy@xnyzc.com
* @since 2019-08-21
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SysRoleResults对象", description="SysRoleResults对象")
public class SysRoleResults implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    private Long roleId;

    @ApiModelProperty(value = "归属机构")
    private String officeId;

    @ApiModelProperty(value = "角色名称")
    private String name;

    @ApiModelProperty(value = "英文名称")
    private String enname;

    @ApiModelProperty(value = "角色类型")
    private String roleType;

    @ApiModelProperty(value = "数据范围")
    private String dataScope;

    @ApiModelProperty(value = "数据范围")
    private String dataScopeStr;

    @ApiModelProperty(value = "是否系统数据")
    private String isSys;

    @ApiModelProperty(value = "机构名称")
    private String officeName;

    @ApiModelProperty(value = "区域编码")
    private String code;

    @ApiModelProperty(value = "用户来源")
    private String tag;

    @ApiModelProperty(value = "版本号")
    @Version
    private Long version;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

}
